package com.future.mayi.response;

import com.future.baselib.entity.BaseResponse;
import com.google.gson.reflect.TypeToken;
import com.future.mayi.app.App;
import com.future.mayi.model.AppraisalOrderModel;

import org.json.JSONException;

import java.util.List;

public class AppraisalAllOrderResponse extends BaseResponse {
    private List<AppraisalOrderModel> list;
    @Override
    public void parseInfo(String content) throws JSONException {
        list = App.getGson().fromJson(content, new TypeToken<List<AppraisalOrderModel>>() {
        }.getType());
    }

    public List<AppraisalOrderModel> getList() {
        return list;
    }
}
